package com.bike.bikeserver.common.enums;

/**
 * @version 1.0
 * @Author ZZX
 * @Date 2023/8/17 20:31
 */
public enum ModelParamsEnums
{
    /**
     * 单车淤积最大数量
     */
    MOST_BIKE_NUM("most_bike_num", "20"),

    /**
     * 单车摆放正确率阈值
     */
    PARKING_RIGHTLY_RATE("parking_rightly_rate", "50"),

    /**
     * 共享单车正则
     */
    SHARED_BIKE_PATTERN("共享单车", "\\d+\\s+shared_bike"),

    /**
     * 私人单车正则
     */
    PRIVATE_BIKE_PATTERN("私人单车", "\\d+\\s+private_bike"),

    /**
     * 摩托、电动车正则
     */
    MOTOR_PATTERN("摩托、电动车", "\\d+\\s+motor");

    private final String displayName;
    private final String value;

    ModelParamsEnums(String displayName, String value)
    {
        this.displayName = displayName;
        this.value = value;
    }

    public String getDisplayName()
    {
        return displayName;
    }

    public String getValue()
    {
        return value;
    }
}
